vs
QUICK ANSWER
"What" is a form of "what", a pronoun which is often translated as "qué". "Such a" is a phrase which is often translated as "tal". Learn more about the difference between "what" and "such a" below.
what()
A pronoun is a word that stands in for a noun (e.g., she).
An adjective is a word that describes a noun (e.g., the big dog).
An interjection is a short utterance that expresses emotion, hesitation, or protest (e.g., Wow!).
such a()
A phrase is a group of words commonly used together (e.g., once upon a time).
a. tal
You went bowling underwater? I've never heard of such a thing.¿Jugaste al boliche bajo el agua? Nunca he escuchado de tal cosa.